/*
 * Dto key class 
 * Created on 6 juin 2013 ( Time 15:03:32 )
 */

package org.demo.employecalendrier.bean;

import java.io.Serializable;


import javax.persistence.*;

import javax.validation.constraints.* ;
import org.hibernate.validator.constraints.* ;


import javax.persistence.*;

@Embeddable
public class EmployecalendrierKey implements Serializable
{
    private static final long serialVersionUID = 1L;

    //----------------------------------------------------------------------
    // ENTITY KEY ATTRIBUTES 
    //----------------------------------------------------------------------
    @GeneratedValue(strategy=GenerationType.AUTO)
    @Column(name="idEmploye", nullable=false)
    private int        idemploye    ;
    
    @Column(name="idCalendrier", nullable=false)
    private int        idcalendrier ;
    

    //----------------------------------------------------------------------
    // CONSTRUCTOR(S)
    //----------------------------------------------------------------------
    public EmployecalendrierKey()
    {
        super();
    }
    
    //----------------------------------------------------------------------
    // GETTERS & SETTERS FOR KEY FIELDS
    //----------------------------------------------------------------------
    public void setIdemploye( int value )
    {
        this.idemploye = value;
    }
    public int getIdemploye()
    {
        return this.idemploye;
    }

    public void setIdcalendrier( int value )
    {
        this.idcalendrier = value;
    }
    public int getIdcalendrier()
    {
        return this.idcalendrier;
    }


    

}
